package sythreeduixiang;
public class Course {
    private String courseId;     // 课程编号
    private String courseName;   // 课程名称
    private String location;     // 上课地点
    private String time;         // 上课时间
    private String teacherId;    // 授课教师编号
    public Course(String courseId, String courseName, String location, String time, String teacherId) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.location = location;
        this.time = time;
        this.teacherId = teacherId;
    }
    // Getter方法
    public String getCourseId() {
        return courseId;
    }
    public String getCourseName() {
        return courseName;
    }
    public String getLocation() {
        return location;
    }
    public String getTime() {
        return time;
    }
    public String getTeacherId() {
        return teacherId;
    }
}